package com.nebula.salary.portal.service;

import com.nebula.salary.common.result.ServerResponse;
import com.nebula.salary.model.dto.AnswerDto;
import com.nebula.salary.model.pojo.Answer;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户密保问题答案表 服务类
 * </p>
 *
 * @author codex
 * @since 2022-01-24
 */
public interface IAnswerService extends IService<Answer> {
    
    /**
     * 更新安全问题
     *
     * @param answerDto 安全问题答案
     * @return 结果
     */
    boolean updateAnswer(AnswerDto answerDto);
}
